package org.deva.erp.common.service;

import java.io.Serializable;

import org.deva.erp.base.service.BaseService;
import org.deva.erp.common.entity.Role;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service @Scope("singleton")
public class RoleService extends BaseService<Role> implements Serializable {

	private static final long serialVersionUID = 1L;

	@Override @Transactional
	public void update(Role t) throws Exception {
		super.update(t);
	}

	@Override @Transactional
	public void insert(Role t) throws Exception {
		super.insert(t);
	}

	@Override @Transactional
	public void delete(Role t) throws Exception {
		super.delete(t);
	}

}
